using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Collections.Generic;
namespace Kunlun.Models
{
    [Table("DeliveType")]
      public class DeliveType
      {
         [Key]  
         [DisplayName("配送方式ID")] 
         public int ID { get; set; }
         [Required(ErrorMessage = "配送方式名称不能空")]  
         [DisplayName("配送方式名称")] 
         public string Name { get; set; }
         [Required(ErrorMessage = "配送费用不能空")]  
         [DisplayName("配送费用")] 
         public decimal Fees { get; set; }
         [DisplayName("描述")] 
         public string Description { get; set; }
         [Required(ErrorMessage = "是否可用不能空")]  
         [DisplayName("是否可用")] 
         public bool IsVisible { get; set; }
         [DisplayName("创建时间")] 
         public DateTime BeginDate { get; set; }
         [DisplayName("最后修改时间")] 
         public DateTime LastUpdateTime { get; set; }
         public decimal Weight { get; set; }
         public decimal PerWeight { get; set; }
         public decimal PerFees { get; set; }
         } 
} 
